package com.studentManagement.dao;

import com.studentManagement.po.Teacher;

import java.sql.SQLException;
import java.util.List;

/**
 * Created by Administrator on 2017/4/25 0025.
 */
public interface TeacherDao {
    //方法的功能描述：通过教师id查询教师的所有信息
    Teacher queryTeacherByTId(String teacher_id) throws Exception;

    //方法的功能描述：查询所有教师的所有信息
    List<Teacher> queryAllTeacher() throws SQLException;

    //方法的功能描述：通过教师uuid查询教师的所有信息
    Teacher queryTeacher(String uuid) throws SQLException;

    //方法的功能描述：添加教师
    boolean addTeacher(Teacher teacher) throws SQLException;

    //方法的功能描述：更新教师信息
    boolean updateTeacher(Teacher teacher, String teacher_id) throws SQLException;



}
